﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class Program
    {
        static void Main(string[] args)
        {
            Udisk u1 = new Udisk("金士顿64g");
            u1.Info();
            u1.Read();
            u1.Write();
            MHDdisk m1 = new MHDdisk("三星500g");
            m1.Info();
            m1.Read();
            m1.Write();
            Computer com = new Computer("联想");
            com.Start();
            com.Usb1 = u1;
            com.Usb2 = m1;
            com.ReadDate();
            com.WriteDate();
            com.End();
            Console.ReadKey();


        }
    }
}
